home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_RTPIDX_H__6182BB38_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
- #define AFX_RTPIDX_H__6182BB38_8033_11D1_A956_00C0F6A06F60__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
- /////////////////////////////////////////////////////////////////////////////
- // CRTPIDX wrapper class
-
- class CRTPIDX : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CRTPIDX)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x169f6e66, 0xe3d9, 0x11d0, { 0xa9, 0x56, 0x0, 0xc0, 0xf6, 0xa0, 0x6f, 0x60 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- long GetWindowBackgroundColor();
- void SetWindowBackgroundColor(long);
- long GetWindowBorderColor();
- void SetWindowBorderColor(long);
- long GetPlotBackgroundColor();
- void SetPlotBackgroundColor(long);
- long GetWindowBorderStyle();
- void SetWindowBorderStyle(long);
- double GetTopPlotArea();
- void SetTopPlotArea(double);
- double GetRightPlotArea();
- void SetRightPlotArea(double);
- double GetLeftPlotArea();
- void SetLeftPlotArea(double);
- long GetWindowResizeMode();
- void SetWindowResizeMode(long);
- long GetWindowBorderThickness();
- void SetWindowBorderThickness(long);
- double GetBottomPlotArea();
- void SetBottomPlotArea(double);
- BOOL GetBarAutoPosition();
- void SetBarAutoPosition(BOOL);
- double GetPIDDerivGain();
- void SetPIDDerivGain(double);
- double GetPIDFilterConstant();
- void SetPIDFilterConstant(double);
- double GetPIDInputHighValue();
- void SetPIDInputHighValue(double);
- double GetPIDInputLowValue();
- void SetPIDInputLowValue(double);
- double GetPIDIntegralGain();
- void SetPIDIntegralGain(double);
- double GetPIDOutputHighClamp();
- void SetPIDOutputHighClamp(double);
- double GetPIDOutputHighValue();
- void SetPIDOutputHighValue(double);
- double GetPIDOutputLowClamp();
- void SetPIDOutputLowClamp(double);
- double GetPIDOutputLowValue();
- void SetPIDOutputLowValue(double);
- double GetPIDOutputRateClamp();
- void SetPIDOutputRateClamp(double);
- double GetPIDOutputSteadyState();
- void SetPIDOutputSteadyState(double);
- double GetPIDSamplePeriod();
- void SetPIDSamplePeriod(double);
- double GetPIDSetpoint();
- void SetPIDSetpoint(double);
- double GetPIDPropGain();
- void SetPIDPropGain(double);
- BOOL GetPIDInvertedOutput();
- void SetPIDInvertedOutput(BOOL);
- CString GetPIDLabelsFont();
- void SetPIDLabelsFont(LPCTSTR);
- long GetPIDLabelsSize();
- void SetPIDLabelsSize(long);
- long GetPIDLabelsFontStyle();
- void SetPIDLabelsFontStyle(long);
- CString GetPIDAutoString();
- void SetPIDAutoString(LPCTSTR);
- CString GetPIDManualString();
- void SetPIDManualString(LPCTSTR);
- CString GetPIDNormalString();
- void SetPIDNormalString(LPCTSTR);
- double GetPIDInputCenterValue();
- void SetPIDInputCenterValue(double);
- long GetPIDInputPrecision();
- void SetPIDInputPrecision(long);
- double GetPIDOutputCenterValue();
- void SetPIDOutputCenterValue(double);
- long GetPIDOutputPrecision();
- void SetPIDOutputPrecision(long);
- CString GetPIDInputUnits();
- void SetPIDInputUnits(LPCTSTR);
- long GetPIDLabelsColor();
- void SetPIDLabelsColor(long);
- CString GetPIDOutputUnits();
- void SetPIDOutputUnits(LPCTSTR);
- BOOL GetPIDBargraphEnable();
- void SetPIDBargraphEnable(BOOL);
- double GetPIDManualOutputValue();
- void SetPIDManualOutputValue(double);
- long GetPIDNormalAlarmColor();
- void SetPIDNormalAlarmColor(long);
- long GetPIDLowAlarmColor();
- void SetPIDLowAlarmColor(long);
- long GetPIDHighAlarmColor();
- void SetPIDHighAlarmColor(long);
- BOOL GetPIDAlarmMessageEnable();
- void SetPIDAlarmMessageEnable(BOOL);
- CString GetPIDHighAlarmString();
- void SetPIDHighAlarmString(LPCTSTR);
- double GetPIDHighAlarmValue();
- void SetPIDHighAlarmValue(double);
- CString GetPIDLowAlarmString();
- void SetPIDLowAlarmString(LPCTSTR);
- double GetPIDLowAlarmValue();
- void SetPIDLowAlarmValue(double);
- CString GetPIDNormalAlarmString();
- void SetPIDNormalAlarmString(LPCTSTR);
- double GetPIDInputValue();
- void SetPIDInputValue(double);
- double GetPIDOutputValue();
- void SetPIDOutputValue(double);
- BOOL GetEnableInternalTimer();
- void SetEnableInternalTimer(BOOL);
- double GetTimerFrequency();
- void SetTimerFrequency(double);
- BOOL GetSDataSimulationMode();
- void SetSDataSimulationMode(BOOL);
-
- // Operations
- public:
- CString GetTitleString(long title);
- void SetTitleString(long title, LPCTSTR lpszNewValue);
- CString GetTitleFont(long title);
- void SetTitleFont(long title, LPCTSTR lpszNewValue);
- long GetTitleColor(long title);
- void SetTitleColor(long title, long nNewValue);
- long GetTitleFontStyle(long title);
- void SetTitleFontStyle(long title, long nNewValue);
- long GetTitleFontSize(long title);
- void SetTitleFontSize(long title, long nNewValue);
- long GetPIDChannelColor(long nChannel);
- void SetPIDChannelColor(long nChannel, long nNewValue);
- CString GetPIDTagName(long nChannel);
- void SetPIDTagName(long nChannel, LPCTSTR lpszNewValue);
- double CalcPID(double rInput);
- double GetPIDChannelInitialValue(long nChannel);
- void SetPIDChannelInitialValue(long nChannel, double newValue);
- void UpdatePIDBargraph(double rInputValue, double rSetpoint, double rOutputValue);
- BOOL SerializeLoadFile(LPCTSTR sFilename);
- BOOL SerializeSaveFile(LPCTSTR sFilename);
- BOOL CopyToClipboard();
- BOOL SavePageMeta(long mftype, LPCTSTR sFilename);
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_RTPIDX_H__6182BB38_8033_11D1_A956_00C0F6A06F60__INCLUDED_)
-